<?php
require_once(__DIR__ . '/../we7_db.php');
$we7_db_config = We7Db::getConfig();

return array(
  'DB_TYPE'   => 'mysql',

  'DB_HOST'   => $we7_db_config['db_host'],
  'DB_NAME'   => $we7_db_config['db_name'],
  'DB_USER'   => $we7_db_config['db_user'],
  'DB_PWD'    => $we7_db_config['db_pwd'],
  'DB_PORT'   => $we7_db_config['db_port'],

  'DB_PREFIX' => 'zjhj_wdds_',
  'DB_CHARSET'=> 'utf8',
  'DB_DEBUG'  =>  TRUE,
  'URL_MODEL' => 0,

  'MODULE_ALLOW_LIST' => array('Home'),
  'DEFAULT_MODULE' => 'Home',

  /* 消息队列配置 */
  'QUEUE' => array(
    'type' => 'redis',
    'host' => '127.0.0.1',
    'port' =>  '6379',
    'persistent' => false, //是否启用
    'prefix' => 'queue',
    'password' =>  '', // 密码
  )
);